package com.joinway.bean;

//import org.jsondoc.core.annotation.ApiObject;
//import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.bean.BaseBean;

//@ApiObject(name = "View", description = "通用返回值", show=false)
public class View extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4135697378973016827L;

//	@ApiObjectField(description = "状态码，0表示成功，非0失败")
	int code = 0;

//	@ApiObjectField(description = "显示给用户看信息")
	String message;
	
//	@ApiObjectField(description = "应用程序错误信息，空表示没有错误或没有相应的错误提示")
	String error;
	
	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
